package fileReader.demo.reader;

import java.awt.Graphics;
import java.util.Vector;

public class PointMapLayer extends MapLayer {

	/**
	 * TODO: comment
	 */
	public Vector getData() {
		return data;
	}

	/**
	 * Draws this obstruct map layer on screen
	 * 
	 * @param g graphics
	 * @param zoom value
	 * @param xtrans x_translation
	 * @param ytrans y_translation
	 */
	public void drawLayer(Graphics g, double zoom, int xtrans, int ytrans, String layer) {
		for (int i = 0 ; i < data.size() ; i++) {
				
	    		PointDrawer p = (PointDrawer) data.get(i); 
	    		p.draw(g,zoom,xtrans,ytrans,layer);	
		 }
	}

}
